package com.example.esquel_carpool.entity.home;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class ListBean implements Serializable {
    /**
     * id : 294
     * title : 苏泊尔（SUPOR）电饭煲电饭锅4L容量微压力焖煮
     * desc : ￼￼全新 公司抽奖中的奖品
     * 苏泊尔（SUPOR）电饭煲电饭锅4L容量微压力焖煮CFXB40FC829E-75（24小时预约）
     * 京东卖209
     * images : [{"path":"http:\/\/gitsite.net:8082\/uploads\/images\/20190125\/dc9dd7886921f45b1ecb42d345ed57da.PNG","id":"432","extra_info":{"mime":"image\/jpeg","width":750,"height":1334,"type":"jpeg"}},{"path":"http:\/\/gitsite.net:8082\/uploads\/images\/20190125\/877854e6f596993218df64290ce1e272.HEIC","id":"433","extra_info":{"mime":"image\/jpeg","width":1334,"height":1000,"type":"jpeg"}},{"path":"http:\/\/gitsite.net:8082\/uploads\/images\/20190125\/04667e994a5c17ca2dc613917329fda4.HEIC","id":"434","extra_info":{"mime":"image\/jpeg","width":1000,"height":1334,"type":"jpeg"}},{"path":"http:\/\/gitsite.net:8082\/uploads\/images\/20190125\/496aeaf9375b3de11d0c4b3836c8babd.HEIC","id":"431","extra_info":{"mime":"image\/jpeg","width":1000,"height":1334,"type":"jpeg"}}]
     * price : 180
     * original_price : null
     * status : 0
     * post_time : 2019-01-25 13:39:14
     * is_seller : 1
     * location : 广东省 佛山市 高明区
     * user : {"uid":11320,"loginname":"GET0165659","im_id":"GET0165659","deptid":"GET0165659","carnumber":"粤EQP519","cartype":null,"carimgpath":null,"iscarown":"1","devid":"0","route_short_name":"XY","client_id":"a64148f15f17d8dae868815cc31782e1","im_md5password":"7f9fd5ea00474d01ed2aed95dffae31b","name":"冼珍巧","phone":"13763338386","mobile":"","companyname":"TDC","sex":"2","imgpath":"GET0285739_1545537932283.JPG","department":"TDC产品开发部","is_active":1,"nativename":"冼珍巧","can_overload":1,"carcolor":"银色","carbrand":null,"home_address_id":79,"company_address_id":82,"Department":"Product Development Technical Specialists","integral_number":0}
     * categories : [{"id":31,"parent_id":0,"sort":0,"type":100,"name":"家用电器"}]
     * statistical : {"like_count":1,"view_count":30,"comment_count":0,"collection_count":1}
     */

    private int id;
    private String title;
    private String desc;
    private String images;
    private int price;
    private Object original_price;
    private int status;
    private String post_time;
    private int is_seller;
    private String location;
    private UserBean user;
    private StatisticalBean statistical;
    private List<CategoriesBean> categories = new ArrayList<>();


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getImages() {
        return images;
    }

    public void setImages(String images) {
        this.images = images;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public Object getOriginal_price() {
        return original_price;
    }

    public void setOriginal_price(Object original_price) {
        this.original_price = original_price;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getPost_time() {
        return post_time;
    }

    public void setPost_time(String post_time) {
        this.post_time = post_time;
    }

    public int getIs_seller() {
        return is_seller;
    }

    public void setIs_seller(int is_seller) {
        this.is_seller = is_seller;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public UserBean getUser() {
        return user;
    }

    public void setUser(UserBean user) {
        this.user = user;
    }

    public StatisticalBean getStatistical() {
        return statistical;
    }

    public void setStatistical(StatisticalBean statistical) {
        this.statistical = statistical;
    }

    public List<CategoriesBean> getCategories() {
        return categories;
    }

    public void setCategories(List<CategoriesBean> categories) {
        this.categories = categories;
    }

    @Override
    public String toString() {
        return "DetailListBean{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", desc='" + desc + '\'' +
                ", images='" + images + '\'' +
                ", price=" + price +
                ", original_price=" + original_price +
                ", status=" + status +
                ", post_time='" + post_time + '\'' +
                ", is_seller=" + is_seller +
                ", location='" + location + '\'' +
                ", user=" + user +
                ", statistical=" + statistical +
                ", categories=" + categories +
                '}';
    }
}
